package com.youthHostel.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.youthHostel.pojo.house;

public interface HouseService {

	int addHouse(house houses);
	
	PageInfo<house> findAllHouse(int index);
	
	int removeHouserById(int id);
	
	house findHouseMesById(int id);
	
	int updateHouserMes(house houses);
	
	List<house> findHouseByKey(String name,int index);
	
	List<house> selectAll();
}
